package com.alex.lombok.toString;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

/**
 * @description:
 * @author: gaojun
 * @date: 2020/12/10
 */
@Data
@AllArgsConstructor
public class Person {
    private int id;
    private String name;
    @ToString.Exclude
    private String cardNo;

    public static void main(String[] args) {
        System.out.println(new Person(1,"a", "1212x"));
    }
}
